import moment from 'moment'
export const timer = (time) => {
    let time1 = time + 30 * 1000 * 60;
    let time2 = time + 15 * 1000 * 60;
    const fasttime = moment(Number(time2)).format("YYYY-MM-DD HH:mm:ss")
    const slowtime = moment(Number(time1)).format("YYYY-MM-DD HH:mm:ss")
    return {fasttime,slowtime}
}